home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
othergnu
/
gnuplt_x.zoo
/
gnuplot.gih
< prev
next >
Wrap
Text File
|
1994-08-27
|
47KB
|
1,263 lines
?
GNUPLOT is a command-driven interactive function plotting program. It
is case sensitive (commands and function names written in lowercase
are not the same as those written in CAPS). All command names may be
abbreviated, as long as the abbreviation is not ambiguous. Any number
of commands may appear on a line, separated by semicolons (;).
Any command-line arguments are assumed to be names of files containing
gnuplot commands. Each file is loaded with the `load` command, in the
order specified. Gnuplot exits after the last file is processed.
Commands may extend over several input lines, by ending each line but
the last with a backslash (\). The backslash must be the LAST
character on each line. The effect is as if the backslash and newline
were not there. That is, no white space is implied, nor is a comment
terminated. Therefore, commenting out a continued line comments out
the entire command (see `comment`).
In this documentation, curly braces ({}) denote optional arguments to
many commands.
For help on any topic, type 'help' followed by the name of the topic.
?clear
The `clear` command erases the current screen or output device as
specified by `set output`. This usually generates a formfeed on
hardcopy devices. Use `set terminal` to set the device type.
?comments
Comments are supported as follows: a # may appear in most places in a line
and GNUPLOT will ignore the rest of the line. It will not have this
affect inside quotes, inside numbers (including complex numbers), inside
command substitutions, etc. In short, it works anywhere it makes sense
to work.
?environment
A number of shell environment variables are understood by GNUPLOT.
None of these are required, but may be useful.
If GNUTERM is defined, it is used as the name of the terminal type to
be used. This overrides any terminal type sensed by GNUPLOT on start
up, but is itself overridden by the .gnuplot (or equivalent) start-up
file (see help start-up), and of course by later explicit changes.
On Unix and MS-DOS, GNUHELP may be defined to be the pathname of the
HELP file (gnuplot.gih).
On VMS, the symbol GNUPLOT$HELP should be defined as the name of
the help library for gnuplot.
On Unix, HOME is used as the name of a directory to search for a
.gnuplot file if none is found in the current directory.
On MS-DOS, GNUPLOT is used. On VMS, SYS$LOGIN: is used.
See help start-up.
On Unix, PAGER is used as an output filter for help messages. SHELL
is used for the `shell` command.
On MS-DOS, COMSPEC is used for the `shell` command.
?exit
?quit
The commands `exit` and `quit` and your computer's END-OF-FILE character
will exit GNUPLOT. All these commands will clear the output device
(as the `clear` command does) before exiting.
?expressions
In general, any mathematical expression accepted by C, FORTRAN,
Pascal, or BASIC is valid. The precedence of these operators is
determined by the specifications of the C programming language.
White space (spaces and tabs) is ignored inside expressions.
Complex constants may be expressed as the {<real>,<imag>}, where <real>
and <imag> must be numerical constants. For example {3,2}
represents 3 + 2i; {0,1} represents `i` itself. The curly braces
are explicitly required here.
?expressions functions
?functions
The functions in GNUPLOT are the same as the corresponding functions
in the UNIX math library, except that all functions accept integer,
real, and complex arguments, unless otherwise noted. The `sgn`
function is also supported, as in BASIC.
?expressions functions abs
?functions abs
?abs
The `abs` function returns the absolute value of its argument. The
returned value is of the same type as the argument.
For complex arguments, abs(x) is defined as the length of x in the
complex plane [i.e., sqrt(real(x)**2 + imag(x)**2) ].
?expressions functions acos
?functions acos
?acos
The `acos` function returns the arc cosine (inverse cosine) of its
argument. `acos` returns its argument in radians.
?expressions functions arg
?functions arg
?arg
The `arg` function returns the phase of a complex number, in radians.
?expressions functions asin
?functions asin
?asin
The `asin` function returns the arc sin (inverse sin) of its argument.
`asin` returns its argument in radians.
?expressions functions atan
?functions atan
?atan
The `atan` function returns the arc tangent (inverse tangent) of its
argument. `atan` returns its argument in radians.
?expressions functions besj0
?functions besj0
?besj0
The `besj0` function returns the j0th Bessel function of its argument.
`besj0` expects its argument to be in radians.
?expressions functions besj1
?functions besj1
?besj1
The `besj1` function returns the j1st Bessel function of its argument.
`besj1` expects its argument to be in radians.
?expressions functions besy0
?functions besy0
?besy0
The `besy0` function returns the y0th Bessel function of its argument.
`besy0` expects its argument to be in radians.
?expressions functions besy1
?functions besy1
?besy1
The `besy1` function returns the y1st Bessel function of its argument.
`besy1` expects its argument to be in radians.
?expressions functions ceil
?functions ceil
?ceil
The `ceil` function returns the smallest integer that is not less than its
argument. For complex numbers, `ceil` returns the smallest integer
not less than the real part of its argument.
?expressions functions cos
?functions cos
?cos
The `cos` function returns the cosine of its argument. `cos` expects its
argument to be in radians.
?expressions functions cosh
?functions cosh
?cosh
The `cosh` function returns the hyperbolic cosine of its argument.
`cosh` expects its argument to be in radians.
?expressions functions exp
?functions exp
?exp
The `exp` function returns the exponential function of its argument
(`e` raised to the power of its argument).
?expressions functions floor
?functions floor
?floor
The `floor` function returns the largest integer not greater than its
argument. For complex numbers, `floor` returns the largest
integer not greater than the real part of its argument.
?expressions functions imag
?functions imag
?imag
The `imag` function returns the imaginary part of its argument as a
real number.
?expressions functions int
?functions int
?int
The `int` function returns the integer part of its argument, truncated
toward zero.
?expressions functions log
?functions log
?log
The `log` function returns the natural logarithm (base `e`) of its
argument.
?expressions functions log10
?functions log10
?log10
The `log10` function returns the logarithm (base 10) of its argument.
?expressions functions real
?functions real
?real
The `real` function returns the real part of its argument.
?expressions functions sgn
?functions sgn
?sgn
The `sgn` function returns 1 if its argument is positive, -1 if its
argument is negative, and 0 if its argument is 0. If the argument
is a complex value, the imaginary component is ignored.
?expressions functions sin
?functions sin
?sin
The `sin` function returns the sine of its argument. `sin` expects its
argument to be in radians.
?expressions functions sinh
?functions sinh
?sinh
The `sinh` function returns the hyperbolic sine of its argument. `sinh`
expects its argument to be in radians.
?expressions functions sqrt
?functions sqrt
?sqrt
The `sqrt` function returns the square root of its argument.
?expressions functions tan
?functions tan
?tan
The `tan` function returns the tangent of its argument. `tan` expects
its argument to be in radians.
?expressions functions tanh
?functions tanh
?tanh
The `tanh` function returns the hyperbolic tangent of its argument.
`tanh` expects its argument to be in radians.
?expressions operators
?operators
The operators in GNUPLOT are the same as the corresponding operators
in the C programming language, except that all operators accept
integer, real, and complex arg